<div class="contenedorTabla">
  <div class="contenedorTablaHeader">
    <span class="tituloTabla">Catálogo de Paises</span>
    <ul class="labelTable">
      <!--li><span class="label label-azul">4 Items</span></li-->
      <li>
        <div class="searchInput">
          <i class="icon icon-search"></i>
          <input type="text" class="search-query search" placeholder="Ingrese Clave, Abreviación, Nombre"/>
        </div>

        <div class="tableButtonNew">
          <%= link_to new_pais_path, :method => :get, :rel => "tooltip", "data-placement" => "top", "data-original-title" => "Agregar Pais" do %>
              <i class="icon-plus icon-white"></i>
          <% end %>
        </div>
      </li>
    </ul>
  </div>

  <div class="contenedorTablaCuerpo">
    <table id="tblData" class="table table-striped table-bordered table-hover table-paises">
      <thead>
          <tr>
            <th>Clave</th>
            <th>Abreviacion</th>
            <th>Nombre</th>
            <th></th>
          </tr>
      </thead>

      <tbody>
          <% @paises.each do |pais| %>
              <tr>
                <td><%= pais.Clave %></td>
                <td><%= pais.Abreviacion %></td>
                <td><%= pais.Nombre %></td>
                <td>
                  <%= link_to edit_pais_path(pais), :rel => "tooltip", "data-placement" => "top", "data-original-title" => "Editar", :class => "btn btn-mini" do %>
                      <i class="icon-pencil"></i>
                  <% end %>
                  <%= link_to pais, :method => :delete, :data => { :confirm => '¿Seguro que desea eliminar el Pais?' }, :rel => "nofollow", "data-placement" => "top", "data-original-title" => "Eliminar", :class => "btn btn-mini btn-danger"  do %>
                      <i class="icon-trash icon-white"></i>
                  <% end %>
                </td>
              </tr>
          <% end %>
      </tbody>
    </table>
  </div>

  <div class="footerTabla">
  </div>
</div>

